package com.cnpinxi.dao;

import com.cnpinxi.domain.Complimentary;

import java.util.List;
import java.util.Map;

public interface ComplimentaryMapper {

    int deleteByPrimaryKey(Long tid);

    int insertComplimentary(Complimentary record);



    Complimentary selectByPrimaryKey(Long tid);


    int updateComplimentaryByPrimaryKeySelective(Complimentary record);

    int updateComplimentaryById(Complimentary record);
    List<Complimentary> selectComplimentaryList(Map<String, String> map);
    List<Complimentary> selectComplimentaryListByProductEntityId(Long productEntityId);
}